/* ============ 面包屑容器 ============ */

.breadcrumb-wrapper {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.breadcrumb-nav {
    width: 100%;
}

/* ============ 面包屑列表 ============ */

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ============ 面包屑项 ============ */

.breadcrumb-item {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.breadcrumb-item.active {
    color: var(--text-secondary);
}

/* ============ 面包屑链接 ============ */

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.breadcrumb-link:hover {
    color: var(--primary-color);
    opacity: 0.8;
}

.breadcrumb-item.active .breadcrumb-link {
    color: var(--text-secondary);
    cursor: default;
}

.breadcrumb-item.active .breadcrumb-link:hover {
    opacity: 1;
}

/* ============ 分隔符 ============ */

.breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    margin: 0 8px;
    color: var(--text-secondary);
    font-size: 12px;
}

/* ============ 省略号 ============ */

.breadcrumb-ellipsis {
    padding: 0 4px;
}

.breadcrumb-ellipsis .breadcrumb-link {
    color: var(--text-secondary);
    cursor: default;
}

.breadcrumb-ellipsis .breadcrumb-link:hover {
    opacity: 1;
}

/* ============ 响应式 ============ */

@media (max-width: 768px) {
    .breadcrumb-link {
        font-size: 12px;
    }

    .breadcrumb-separator {
        margin: 0 6px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-list {
        flex-wrap: wrap;
    }

    .breadcrumb-link {
        font-size: 11px;
    }

    .breadcrumb-separator {
        margin: 0 4px;
        font-size: 10px;
    }

    .breadcrumb-item {
        margin-bottom: 4px;
    }
}
